package top.codervan.yygh.hosp.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import top.codervan.yygh.model.hosp.Department;

/**
 * @Author: van
 * @Date: 2022/2/19 12:37
 */
public interface DepartmentRepository extends MongoRepository<Department,String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
